package com.simple.portal.dao;

import java.util.List;

import com.simple.portal.vo.GroupInfoVO;
import com.simple.util.object.PageInfoBean;

public interface IGroupInfoDAO {
	GroupInfoVO findById(final String id);

    List<GroupInfoVO> findAll();

    void delete(final GroupInfoVO groupInfoVO,final String operator);
    
    void delete(final String id,final String operator);
    
    GroupInfoVO save(final GroupInfoVO groupInfoVO,final String operator);
    
    void update(final GroupInfoVO groupInfoVO,final String type,final String operator);
    
    List<?> findGroupInfoByPage(final String userId,final String groupName,final String orgName,final  String status,final PageInfoBean pageInfoBean);

	List<GroupInfoVO> findByCreator(String userId);
}
